*{
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
    font-size: 0;
    display: block;
}
ul li{
    list-style: none;
}

input{
    outline: none;
}

.body{
    width: 100%
}



.body nav{
    width: 100%;
    border-bottom: 0.01rem solid #d3d3d3;
}
.body nav .container{
    width: 6.30rem;
    overflow: hidden;
    margin: 0 auto ;
}
.body nav .container figure{
    width: 0.97rem;
    
    font-size: 0.24rem;
    text-align: center;
    margin: 0.28rem 0.77rem 0.28rem 0;
    float: left;
}
.body nav .container figure:last-child{
    margin-right: 0;
}
.body nav .container figure img{
    width: 0.97rem;
    margin-bottom: 0.15rem;
}

.body .commodity{
    width: 7.15rem;
    margin: 0.15rem auto 0;
    border: 0.01rem solid #d3d3d3;
    padding-top: 0.37rem;
    padding-left: 0.43rem;
    box-sizing: border-box;
    overflow: hidden;
    
}

.body .commodity .name{
    font-size: 0.42rem;
    color: #f04e92;
    line-height: 0.5rem; 
    
}
.body .commodity .discount{
    width: 3.28rem;
    float: left;
}
.body .commodity .discount div{
    width: 3.28rem;
    border-bottom: 0.01rem solid #000;
    font-size: 0.27rem;
    color: #3e3e3e;
    line-height: 0.43rem;
    margin-top: 0.3rem;
    margin-bottom: 0.08rem;
}


.body .commodity:nth-of-type(n) .discount div span:nth-child(1){
    color: #eb4f89;
}

.body .commodity:nth-of-type(2n+1) .discount div span:nth-child(1){
    color:#ff4100;
}
.body .commodity .discount div span:nth-child(1){
    font-size: 0.6rem;
    font-weight: 700;
}
.body .commodity .discount div span:nth-child(2){
    color: #eb4f89;
}
.body .commodity .discount p{
    font-size: 0.26rem;
    line-height: 0.26rem;
    color: #818181;
    margin-bottom: 0.3rem;
}
.body .commodity .picture{
    width: 2.94rem;

    margin-right: 0.4rem;
    margin-bottom: 0.31rem;
    float: right;
}
.body .commodity .picture img{
    width: 2.94rem;
}




@media (max-width: 414px) {

    .body nav .container figure:nth-child(2n){
        margin-right: 0;
    }
    .body nav .container{
        width: 2.71rem;
    }
    .body .commodity{
        width: 5rem;
    }
}

/* 轮播图 */
.body .top{
    width: 100%;
}

.body .top .box{
    width: 7.5rem;
    height: 2.83rem;
    position: relative;
    overflow: hidden;
}
.body .top .box ul{
    
    width: 9999rem;
    position: absolute;
    top: 0;
}
.body .top .box ul li{
    width: 7.5rem;
    float: left;
    
}

.body .top .box ul li a{
    display: block;
    width: 7.5rem;
    font-size: 0;
}
.body .top .box ul li a img{
    width: 100%;
    height: 2.83rem;
}
.body .top .box .btn{
    position: absolute;
    left: 3.75rem;
    transform: translateX(-50%);
    bottom: 0.2rem;
    
    
}
.btn span{
    display: inline-block;
    width: 0.4rem;
    height: 0.4rem;
    margin: 0.1rem;
    background: rgb(238, 221, 164);
    color: rgb(114, 21, 168);
    font-size: 0.16rem;
    line-height: 0.4rem;
    text-align: center;
    border-radius: 50%;
    opacity: 0.4;
}
.btn span:hover{
    cursor: pointer;
}
.btn span.cur{
    opacity: 1;
    
}

.body .top .box .top-left,
.body .top .box .top-right{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    font-size: 0.5rem;
    line-height: 0.6rem;
    background: rgb(238, 221, 164);
    color: rgb(114, 21, 168);
    text-align: center;
    display: none;
    opacity: 0.6;
}
.body .top .box .top-left{
    
    left: 0;
}
.body .top .box .top-right{
    right: 0;
    
}
.body .top .box .top-left:hover,
.body .top .box .top-right:hover{
    cursor: pointer;
    opacity: 1;
}
.body .top .box:hover .top-left{
    display: block;
}
.body .top .box:hover .top-right{
    display: block;
}